import { axiosInstance } from ".."


function getUserInfo(username:string){
   return new Promise((resolve,reject)=>{
    axiosInstance().post('/test/login/userInfo', { username }).then(
        (res: any) => {
          resolve(res)
        },
        (error: any) => {
          reject(error)
        },
      )
   })
}

export{
    getUserInfo
}